package com.greenlife.service;

import java.util.List;

import com.greenlife.commom.PageInfo;
import com.greenlife.model.User;
import com.greenlife.model.po.UserPo;

public interface UserService {
	/** 用户表模块 **/
	int deleteByPrimaryKey(User user);

	User insertSelective(User user);

	User selectByPrimaryKey(User user);

	User selectByUser(User user);

	int updateByPrimaryKeySelective(User user);
	
	int updateUserPassword(UserPo userPo);

	/**分页查询**/
	List<User> selectUserByPage(User user, PageInfo pageInfo);
	
}
